package com.gzk.oeno.business.critere;

import java.util.Map;

import com.gzk.oeno.business.typevin.TypeVin;

public class Critere extends AbstractCritere{
	
	private Integer type;
	private TypeVin specificTypeVin;
	private Integer echelleMin;
	private Integer echelleMax;
	private Map<Integer,String> echelle;
	
	
	public Critere(){}
	
	public Critere(String name, Integer sortOrder, AbstractCritere parent,
			Integer type, TypeVin specificTypeVin, Integer echelleMin, Integer echelleMax) {
		super(name, sortOrder, parent);
		this.type = type;
		this.specificTypeVin = specificTypeVin;
		this.echelleMin = echelleMin;
		this.echelleMax = echelleMax;
	}
	
	
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public TypeVin getSpecificTypeVin() {
		return specificTypeVin;
	}

	public void setSpecificTypeVin(TypeVin specificTypeVin) {
		this.specificTypeVin = specificTypeVin;
	}

	public Integer getEchelleMin() {
		return echelleMin;
	}

	public void setEchelleMin(Integer echelleMin) {
		this.echelleMin = echelleMin;
	}

	public Integer getEchelleMax() {
		return echelleMax;
	}

	public void setEchelleMax(Integer echelleMax) {
		this.echelleMax = echelleMax;
	}

	public Map<Integer, String> getEchelle() {
		return echelle;
	}

	public void setEchelle(Map<Integer, String> echelle) {
		this.echelle = echelle;
	}

}
